<%page expression_filter="h"/>
<%!
from django.utils.translation import gettext as _
from openedx.core.djangolib.markup import HTML, Text
%>
<%inherit file="../main.html" />
<%namespace name='static' file='../static_content.html'/>

<main id="main" aria-label="Content" tabindex="-1">
    <section class="outside-app">
        <h1>
            <%block name="pageheader">
                % if page_header:
                    ${page_header}
                % else:
                    ${Text(_("Currently the {platform_name} servers are down")).format(
                    platform_name=HTML(u"<em>{}</em>").format(Text(static.get_platform_name()))
                    )}
                % endif
            </%block>
        </h1>
        <p>
            <%block name="pagecontent">
                % if page_content:
                    ${page_content}
                % else:
                    ${Text(_("Our staff is currently working to get the site back up as soon as possible. "))}
                % endif
            </%block>
        </p>
    </section>
</main>
